package com.qianji.mapper;

import com.qianji.pojo.PVUVDto;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author 钟丽诗
 * @Date 2021.4.8
 */

@Mapper
public interface PVUVMapper {


    Integer addPV(PVUVDto pvuvDto);

    PVUVDto findPV(Long linkId,String imei,String date);

    /**
     * 根据第三方链接查询改链接的pv总数
     * @param linkId
     * @return
     */
    Integer pvCount(Long linkId);

    Integer addUV(PVUVDto pvuvDto);

    PVUVDto findUV(Long linkId,String imei,String date);

}
